/* YQWIN-Plus 组件库基础样式 */
.yq-select-wrapper {
  /* 自定义下拉列表样式 */
  select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #dcdfe6;
    border-radius: 8px;
    background-color: #fafafa;
    font-size: 14px;
    color: #606266;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    
    &:hover {
      border-color: #409eff;
      box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.2);
    }
    
    &:focus {
      border-color: #409eff;
      box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.2);
    }
    
    &:disabled {
      background-color: #f5f7fa;
      border-color: #e4e7ed;
      color: #c0c4cc;
      cursor: not-allowed;
    }
  }
  
  option {
    padding: 8px 12px;
    font-size: 14px;
    color: #606266;
  }
}

/* 自定义主题颜色 */
:root {
  --yqwin-primary-color: #409eff;
  --yqwin-success-color: #67c23a;
  --yqwin-warning-color: #e6a23c;
  --yqwin-danger-color: #f56c6c;
  --yqwin-info-color: #909399;
  
  /* 布局组件颜色 */
  --yqwin-layout-bg-color: #f5f7fa;
  --yqwin-sidebar-bg-color: #001529;
  --yqwin-sidebar-text-color: #fff;
  --yqwin-sidebar-active-text-color: #409eff;
  --yqwin-header-bg-color: #fff;
  --yqwin-header-text-color: #303133;
  --yqwin-header-border-color: #e4e7ed;
  --yqwin-content-bg-color: #f5f7fa;
  --yqwin-footer-bg-color: #fff;
  --yqwin-footer-text-color: #606266;
  --yqwin-footer-border-color: #e4e7ed;
  
  /* 布局尺寸 */
  --yqwin-sidebar-width: 240px;
  --yqwin-sidebar-collapsed-width: 64px;
  --yqwin-header-height: 60px;
  --yqwin-footer-height: 40px;
  
  /* 阴影 */
  --yqwin-shadow-base: 0 2px 12px 0 rgba(0, 0, 0, 0.05);
  --yqwin-shadow-light: 0 2px 8px rgba(0, 21, 41, 0.08);
  --yqwin-shadow-dark: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}

/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #303133;
  background-color: #f5f7fa;
}

/* 通用工具类 */
.yq-flex {
  display: flex;
}

.yq-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.yq-flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.yq-flex-column {
  display: flex;
  flex-direction: column;
}

.yq-text-center {
  text-align: center;
}

.yq-text-left {
  text-align: left;
}

.yq-text-right {
  text-align: right;
}

/* 图标字体 */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/materialicons/v140/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}